<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {

	function __construct()
    {
        parent::__construct();
        $this->load->model('home_model');             
    }

    function index()
    {
        $data['active'] = 'home';
        $data['slider_info'] = $this->home_model->get_slider_data();
        //pr($data);exit;
        $this->load->view('front/header',$data);
    	$this->load->view('users/home',$data);
        $this->load->view('front/footer');
    }
}